Integrand size = 35, antiderivative size = 432 \[ \int \frac {\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2}{x} \, dx=-2 b^2 \sqrt {d+c d x} \sqrt {e-c e x}-\frac {2 a b c x \sqrt {d+c d x} \sqrt {e-c e x}}{\sqrt {1-c^2 x^2}}-\frac {2 b^2 c x \sqrt {d+c d x} \sqrt {e-c e x} \arcsin (c x)}{\sqrt {1-c^2 x^2}}+\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2-\frac {2 \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2 \text {arctanh}\left (e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}+\frac {2 i b \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x)) \operatorname {PolyLog}\left (2,-e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {2 i b \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x)) \operatorname {PolyLog}\left (2,e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {2 b^2 \sqrt {d+c d x} \sqrt {e-c e x} \operatorname {PolyLog}\left (3,-e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}+\frac {2 b^2 \sqrt {d+c d x} \sqrt {e-c e x} \operatorname {PolyLog}\left (3,e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}} \]
[Out]
Time = 0.48 (sec) , antiderivative size = 432, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.257, Rules used = {4823, 4783, 4803, 4268, 2611, 2320, 6724, 4715, 267} \[ \int \frac {\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2}{x} \, dx=-\frac {2 \sqrt {c d x+d} \sqrt {e-c e x} \text {arctanh}\left (e^{i \arcsin (c x)}\right ) (a+b \arcsin (c x))^2}{\sqrt {1-c^2 x^2}}+\frac {2 i b \sqrt {c d x+d} \sqrt {e-c e x} \operatorname {PolyLog}\left (2,-e^{i \arcsin (c x)}\right ) (a+b \arcsin (c x))}{\sqrt {1-c^2 x^2}}-\frac {2 i b \sqrt {c d x+d} \sqrt {e-c e x} \operatorname {PolyLog}\left (2,e^{i \arcsin (c x)}\right ) (a+b \arcsin (c x))}{\sqrt {1-c^2 x^2}}+\sqrt {c d x+d} \sqrt {e-c e x} (a+b \arcsin (c x))^2-\frac {2 a b c x \sqrt {c d x+d} \sqrt {e-c e x}}{\sqrt {1-c^2 x^2}}-\frac {2 b^2 \sqrt {c d x+d} \sqrt {e-c e x} \operatorname {PolyLog}\left (3,-e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}+\frac {2 b^2 \sqrt {c d x+d} \sqrt {e-c e x} \operatorname {PolyLog}\left (3,e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {2 b^2 c x \arcsin (c x) \sqrt {c d x+d} \sqrt {e-c e x}}{\sqrt {1-c^2 x^2}}-2 b^2 \sqrt {c d x+d} \sqrt {e-c e x} \]
[In]
[Out]
Rule 267
Rule 2320
Rule 2611
Rule 4268
Rule 4715
Rule 4783
Rule 4803
Rule 4823
Rule 6724
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \frac {\sqrt {1-c^2 x^2} (a+b \arcsin (c x))^2}{x} \, dx}{\sqrt {1-c^2 x^2}} \\ & = \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2+\frac {\left (\sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \frac {(a+b \arcsin (c x))^2}{x \sqrt {1-c^2 x^2}} \, dx}{\sqrt {1-c^2 x^2}}-\frac {\left (2 b c \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int (a+b \arcsin (c x)) \, dx}{\sqrt {1-c^2 x^2}} \\ & = -\frac {2 a b c x \sqrt {d+c d x} \sqrt {e-c e x}}{\sqrt {1-c^2 x^2}}+\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2+\frac {\left (\sqrt {d+c d x} \sqrt {e-c e x}\right ) \text {Subst}\left (\int (a+b x)^2 \csc (x) \, dx,x,\arcsin (c x)\right )}{\sqrt {1-c^2 x^2}}-\frac {\left (2 b^2 c \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \arcsin (c x) \, dx}{\sqrt {1-c^2 x^2}} \\ & = -\frac {2 a b c x \sqrt {d+c d x} \sqrt {e-c e x}}{\sqrt {1-c^2 x^2}}-\frac {2 b^2 c x \sqrt {d+c d x} \sqrt {e-c e x} \arcsin (c x)}{\sqrt {1-c^2 x^2}}+\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2-\frac {2 \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2 \text {arctanh}\left (e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {\left (2 b \sqrt {d+c d x} \sqrt {e-c e x}\right ) \text {Subst}\left (\int (a+b x) \log \left (1-e^{i x}\right ) \, dx,x,\arcsin (c x)\right )}{\sqrt {1-c^2 x^2}}+\frac {\left (2 b \sqrt {d+c d x} \sqrt {e-c e x}\right ) \text {Subst}\left (\int (a+b x) \log \left (1+e^{i x}\right ) \, dx,x,\arcsin (c x)\right )}{\sqrt {1-c^2 x^2}}+\frac {\left (2 b^2 c^2 \sqrt {d+c d x} \sqrt {e-c e x}\right ) \int \frac {x}{\sqrt {1-c^2 x^2}} \, dx}{\sqrt {1-c^2 x^2}} \\ & = -2 b^2 \sqrt {d+c d x} \sqrt {e-c e x}-\frac {2 a b c x \sqrt {d+c d x} \sqrt {e-c e x}}{\sqrt {1-c^2 x^2}}-\frac {2 b^2 c x \sqrt {d+c d x} \sqrt {e-c e x} \arcsin (c x)}{\sqrt {1-c^2 x^2}}+\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2-\frac {2 \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2 \text {arctanh}\left (e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}+\frac {2 i b \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x)) \operatorname {PolyLog}\left (2,-e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {2 i b \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x)) \operatorname {PolyLog}\left (2,e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {\left (2 i b^2 \sqrt {d+c d x} \sqrt {e-c e x}\right ) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,-e^{i x}\right ) \, dx,x,\arcsin (c x)\right )}{\sqrt {1-c^2 x^2}}+\frac {\left (2 i b^2 \sqrt {d+c d x} \sqrt {e-c e x}\right ) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,e^{i x}\right ) \, dx,x,\arcsin (c x)\right )}{\sqrt {1-c^2 x^2}} \\ & = -2 b^2 \sqrt {d+c d x} \sqrt {e-c e x}-\frac {2 a b c x \sqrt {d+c d x} \sqrt {e-c e x}}{\sqrt {1-c^2 x^2}}-\frac {2 b^2 c x \sqrt {d+c d x} \sqrt {e-c e x} \arcsin (c x)}{\sqrt {1-c^2 x^2}}+\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2-\frac {2 \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2 \text {arctanh}\left (e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}+\frac {2 i b \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x)) \operatorname {PolyLog}\left (2,-e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {2 i b \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x)) \operatorname {PolyLog}\left (2,e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {\left (2 b^2 \sqrt {d+c d x} \sqrt {e-c e x}\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-x)}{x} \, dx,x,e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}+\frac {\left (2 b^2 \sqrt {d+c d x} \sqrt {e-c e x}\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,x)}{x} \, dx,x,e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}} \\ & = -2 b^2 \sqrt {d+c d x} \sqrt {e-c e x}-\frac {2 a b c x \sqrt {d+c d x} \sqrt {e-c e x}}{\sqrt {1-c^2 x^2}}-\frac {2 b^2 c x \sqrt {d+c d x} \sqrt {e-c e x} \arcsin (c x)}{\sqrt {1-c^2 x^2}}+\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2-\frac {2 \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2 \text {arctanh}\left (e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}+\frac {2 i b \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x)) \operatorname {PolyLog}\left (2,-e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {2 i b \sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x)) \operatorname {PolyLog}\left (2,e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}-\frac {2 b^2 \sqrt {d+c d x} \sqrt {e-c e x} \operatorname {PolyLog}\left (3,-e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}}+\frac {2 b^2 \sqrt {d+c d x} \sqrt {e-c e x} \operatorname {PolyLog}\left (3,e^{i \arcsin (c x)}\right )}{\sqrt {1-c^2 x^2}} \\ \end{align*}
Time = 2.25 (sec) , antiderivative size = 434, normalized size of antiderivative = 1.00 \[ \int \frac {\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2}{x} \, dx=a^2 \sqrt {d+c d x} \sqrt {e-c e x}+a^2 \sqrt {d} \sqrt {e} \log (c x)-a^2 \sqrt {d} \sqrt {e} \log \left (d e+\sqrt {d} \sqrt {e} \sqrt {d+c d x} \sqrt {e-c e x}\right )-\frac {2 a b \sqrt {d+c d x} \sqrt {e-c e x} \left (c x-\sqrt {1-c^2 x^2} \arcsin (c x)-\arcsin (c x) \log \left (1-e^{i \arcsin (c x)}\right )+\arcsin (c x) \log \left (1+e^{i \arcsin (c x)}\right )-i \operatorname {PolyLog}\left (2,-e^{i \arcsin (c x)}\right )+i \operatorname {PolyLog}\left (2,e^{i \arcsin (c x)}\right )\right )}{\sqrt {1-c^2 x^2}}-\frac {b^2 \sqrt {d+c d x} \sqrt {e-c e x} \left (2 \sqrt {1-c^2 x^2}+2 c x \arcsin (c x)-\sqrt {1-c^2 x^2} \arcsin (c x)^2-\arcsin (c x)^2 \log \left (1-e^{i \arcsin (c x)}\right )+\arcsin (c x)^2 \log \left (1+e^{i \arcsin (c x)}\right )-2 i \arcsin (c x) \operatorname {PolyLog}\left (2,-e^{i \arcsin (c x)}\right )+2 i \arcsin (c x) \operatorname {PolyLog}\left (2,e^{i \arcsin (c x)}\right )+2 \operatorname {PolyLog}\left (3,-e^{i \arcsin (c x)}\right )-2 \operatorname {PolyLog}\left (3,e^{i \arcsin (c x)}\right )\right )}{\sqrt {1-c^2 x^2}} \]
[In]
[Out]
\[\int \frac {\sqrt {c d x +d}\, \sqrt {-c e x +e}\, \left (a +b \arcsin \left (c x \right )\right )^{2}}{x}d x\]
[In]
[Out]
\[ \int \frac {\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2}{x} \, dx=\int { \frac {\sqrt {c d x + d} \sqrt {-c e x + e} {\left (b \arcsin \left (c x\right ) + a\right )}^{2}}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2}{x} \, dx=\int \frac {\sqrt {d \left (c x + 1\right )} \sqrt {- e \left (c x - 1\right )} \left (a + b \operatorname {asin}{\left (c x \right )}\right )^{2}}{x}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2}{x} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
\[ \int \frac {\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2}{x} \, dx=\int { \frac {\sqrt {c d x + d} \sqrt {-c e x + e} {\left (b \arcsin \left (c x\right ) + a\right )}^{2}}{x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {d+c d x} \sqrt {e-c e x} (a+b \arcsin (c x))^2}{x} \, dx=\int \frac {{\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^2\,\sqrt {d+c\,d\,x}\,\sqrt {e-c\,e\,x}}{x} \,d x \]
[In]
[Out]